package com.crr.demo.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public class CryptographyUtil {
    public final  static String SALT="code";
    /**
     * MD5加密
     */
    public static String md5(String str,String salt){
        return new Md5Hash(str,salt).toString();
    }
}
